lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'runfile/version'

Gem::Specification.new do |s|
  s.name        = 'runfile'
  s.version     = Runfile::VERSION
  s.summary     = '项目的本地命令行工具'
  s.description = '为您的项目构建富有表现力的命令行实用程序。'
  s.authors     = ['SuperWindcloud']
  s.email       = 'ss1178933440@gmail.com'
  s.files       = Dir[
    'README.md',
    'lib/**/*.rb',
    'lib/runfile/templates/*',
    'lib/runfile/views/*.gtx',
    'examples/**/{runfile,*.runfile,*.rb}',
  ]
  s.executables = ['run']
  s.homepage    = 'https://gitee.com/superwindcloud/runfile'
  s.license     = 'MIT'
  s.required_ruby_version = '>= 3.1'

  s.add_dependency 'colsole', '>= 0.8.2', '< 2.0'
  s.add_dependency 'docopt_ng', '~> 0.7', '>= 0.7.1'
  s.add_dependency 'gtx', '~> 0.1'
  s.add_dependency 'requires', '>= 0.2', '< 2.0'


end
